summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(master-data)/p-items/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/p-items/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(master-data)/p-items/page.tsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/p-items/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/p-items/page.tsx
index 2b907a75..fa0cef19 100644
--- a/app/[lng]/evcp/(evcp)/(master-data)/p-items/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(master-data)/p-items/page.tsx
@@ -8,14 +8,17 @@ import { getProcurementItems } from "@/lib/procurement-items/service"
import { ProcurementItemsTable } from "@/lib/procurement-items/table/procurement-items-table"
import { searchParamsCache } from "@/lib/procurement-items/validations"
import { InformationButton } from "@/components/information/information-button"
-
+import { useTranslation } from "@/i18n"
interface IndexPageProps {
+ params: Promise<{lng: string}>
searchParams: Promise<SearchParams>
}
export default async function IndexPage(props: IndexPageProps) {
const searchParams = await props.searchParams
const search = searchParamsCache.parse(searchParams)
+ const {lng} = await props.params
+ const {t} = await useTranslation(lng, 'menu')
const validFilters = getValidFilters(search.filters)
@@ -33,12 +36,12 @@ export default async function IndexPage(props: IndexPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 1회성 품목 관리
+ {t('menu.master_data.procurement_items')}
</h2>
<InformationButton pagePath="evcp/procurement-items" />
</div>
<p className="text-muted-foreground">
- 입찰에서 사용하는 1회성 품목을 등록하고 관리합니다.
+ {t('menu.master_data.procurement_items_desc')}
</p>
</div>
</div>